package work;

import javax.swing.*;

//深水炸弹
public class Bomb extends SeaObject{
    public Bomb(int x,int y){
        super(9,12,x,y,3);
    }
    @Override
    public void move() {
        y+=speed;
    }
    /** 重写getImage()获取图片 */
    public ImageIcon getImage(){
        return images.bomb;
    }
}
